package com.wenjie.redHat.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_product")
public class ProductEntity implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /** 产品名 */
    private String name;
    /** 产品价 */
    private Integer price;
    /** 内 */
    private String content;
    /** 详 */
    private String details;
    /** 说 */
    @TableField(value ="`explain`")
    private String explain;
    /** 产品图 */
    private String img;
    /** 排 */
    private String sort;
    /** status */
    private Integer status;
    /** 分类id */
    private Integer cid;

}
